package com.model;

import java.util.Date;
import java.util.List;

public class Notification {

	private boolean manyIssue;

	private int id;

	private String email;

	private String message;

	private Date assignedDate;

	private Date lastNotification;

	private SendingResult notificationResult;

	private int issueId;

	private List<Integer> issuesId;

	public Notification() {
	}

	public Notification(int id, String email, String message,
			Date assignedDate, Date lastNotification,
			SendingResult notificationResult, int issueId) {
		this.id = id;
		this.email = email;
		this.message = message;
		this.assignedDate = assignedDate;
		this.lastNotification = lastNotification;
		this.notificationResult = notificationResult;
		this.issueId = issueId;
	}

	public Notification(int id, String email, String message,
			Date assignedDate, Date lastNotification,
			SendingResult notificationResult, List<Integer> issuesId) {
		this.id = id;
		this.email = email;
		this.message = message;
		this.assignedDate = assignedDate;
		this.lastNotification = lastNotification;
		this.notificationResult = notificationResult;
		this.issuesId = issuesId;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Date getAssignedDate() {
		return assignedDate;
	}

	public void setAssignedDate(Date assignedDate) {
		this.assignedDate = assignedDate;
	}

	public Date getLastNotification() {
		return lastNotification;
	}

	public void setLastNotification(Date lastNotification) {
		this.lastNotification = lastNotification;
	}

	public SendingResult getNotificationResult() {
		return notificationResult;
	}

	public void setNotificationResult(SendingResult notificationResult) {
		this.notificationResult = notificationResult;
	}

	public int getId() {
		return this.id;
	}

	public int getIssueId() {
		return issueId;
	}

	public void setIssueId(int issueId) {
		this.issueId = issueId;
	}

	public void setId(int id) {
		this.id = id;
	}

	public boolean isManyIssue() {
		return manyIssue;
	}

	public void setManyIssue(boolean manyIssue) {
		this.manyIssue = manyIssue;
	}

	public List<Integer> getIssuesId() {
		return issuesId;
	}

	public void setIssuesId(List<Integer> issuesId) {
		this.issuesId = issuesId;
	}

}
